package com.woniu.sale.mapper;

import com.woniu.sale.entity.BsProduct;
import com.woniu.sale.entity.BsProductExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface BsProductDao {
    long countByExample(BsProductExample example);

    int deleteByExample(BsProductExample example);

    int deleteByPrimaryKey(String prodno);

    int insert(BsProduct record);

    int insertSelective(BsProduct record);

    List<BsProduct> selectByExample(BsProductExample example);

    BsProduct selectByPrimaryKey(String prodno);

    int updateByExampleSelective(@Param("record") BsProduct record, @Param("example") BsProductExample example);

    int updateByExample(@Param("record") BsProduct record, @Param("example") BsProductExample example);

    int updateByPrimaryKeySelective(BsProduct record);

    int updateByPrimaryKey(BsProduct record);
}